import pandas as pd
import numpy as np

series01=pd.Series([1,2,3,4],index=['One','second','three','forth'])
series02=pd.Series(['a','b','c','d'],index=['One','second','three','forth'])
# print(series01)
# print(series01.index)
# print(series01.values)
# print(series01['forth'])
df01 = {'one':series02,'two':series01}
df01_ = pd.DataFrame(df01)

print(df01_)

data = {'Name':['Tom', 'Jack', 'Steve', 'Ricky'],'Age':[28,34,29,42]}
#没有传递所以
df1 = pd.DataFrame(data)
print(df1)






















